
Pod::Spec.new do |s|
  s.name             = 'WechatOpenSDK'
  s.version          = '0.1.0'
  s.summary          = 'WechatOpenSDK.'

  s.description      = <<-DESC
  WechatOpenSDK swift version
                       DESC

  s.homepage         = 'git@gitee.com:venusbook/WechatOpenSDK.git'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Minrui' => 'ayaseeri@126.com' }
  s.source           = { :git => 'git@gitee.com:venusbook/WechatOpenSDK.git', :tag => s.version.to_s }
  s.ios.deployment_target = '9.0'

  s.source_files = 'WechatOpenSDKSwift/Classes/**/*'
  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load' }
  s.subspec 'WechatOpenSDK' do |ss|
     ss.source_files = 'WechatOpenSDKSwift/Vendors/OpenSDK1.8.7.1_NoPay/**.h'
     ss.public_header_files = 'WechatOpenSDKSwift/Vendors/OpenSDK1.8.7.1_NoPay/**.h'

     ss.frameworks   = 'WebKit', 'CFNetwork', 'SystemConfiguration', 'Security', 'CoreTelephony','Foundation'
     ss.libraries    = 'sqlite3.0', 'z', 'c++'
     ss.vendored_libraries = 'WechatOpenSDKSwift/Vendors/OpenSDK1.8.7.1_NoPay/*.a'
     ss.pod_target_xcconfig = { 'LD_RUNPATH_SEARCH_PATHS' => '$(PODS_ROOT)/WechatOpenSDKSwift/Vendors/' }
   end

end
